﻿ <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Cargo_list1.aspx.cs" Inherits="Manage_Cargo_list" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>无标题页</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    
    </div>
        <asp:GridView ID="GridView1" runat="server"  OnRowDeleting="GridView1_RowDeleting" OnSelectedIndexChanging="GridView1_SelectedIndexChanging" OnRowCommand="GridView1_RowCommand" >
            <Columns>
                <asp:ButtonField CommandName="delete" Text="删除" />
                <asp:CommandField ShowSelectButton="True" />
                <asp:ButtonField CommandName="add" Text="购买" />
            </Columns>
        </asp:GridView>
        &nbsp; 
        <asp:Button ID="Button1" runat="server" OnClick="Button1_Click1" Text="Button" />
        <asp:DataList ID="DataList1" runat="server" OnItemDataBound="DataList1_ItemDataBound">
            <ItemTemplate>
                <asp:Label ID="Label2" runat="server" ><%# DataBinder.Eval(Container.DataItem,"key")%></asp:Label>
                <asp:Label ID="Label1" runat="server"><%# DataBinder.Eval(Container.DataItem,"value")%></asp:Label>
            </ItemTemplate>
        </asp:DataList>&nbsp;
        <asp:Button ID="Button2" runat="server" OnClick="Button2_Click" Text="Button" />
    </form>
</body>
</html>
